<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .test{
            border: 1px red solid;
            width: 50px;
            line-height: 50px;
            /*word-break:break-all;*/
        }

    </style>
</head>
<body>
<div class="test">
    <div>111</div>
</div>
</body>
</html>